package com.xiaoshuidi.cloud.module.rooms.controller.admin.rentalspace.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import org.zxp.esclientrhl.annotation.ESMapping;
import org.zxp.esclientrhl.enums.DataType;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

@Schema(description = "空间租赁-BaseVO")
@Data
public class RentalSpaceBaseVO {

    @Schema(description = "编码")
    private Long id;

    @Schema(description = "空间名称")
    private String name;

    @Schema(description = "空间编号")
    private String spaceNo;

    @Schema(description = "街道")
    private String street;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区域")
    private String district;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "小区/写字楼名称")
    private String area;

    @Schema(description = "面积")
    private Double space;

    @Schema(description = "房态")
    private String rentStatus;

    @Schema(description = "类型 商铺、办公室、其他")
    private String type;

    @Schema(description = "公寓id")
    private Long apartmentId;

    @Schema(description = "月租金")
    private Double monthRental;

    @Schema(description = "房间备注")
    private String remark;

    @Schema(description = "是否停用")
    private Boolean isStop;

    @Schema(description = "承租人姓名")
    private String tenantMainName;

    @Schema(description = "承租人手机号")
    private String tenantMainPho;

    @Schema(description = "租户编号")
    private Long tenantId;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "是否删除")
    private Boolean deleted;

    @Schema(description = "合同信息的json")
    private String contractInfo;

    @Schema(description = "账单信息的json")
    private String billInfo;

}
